#include "RaiseAngleSimple.h"

RaiseAngleSimple::RaiseAngleSimple() {
	// Use requires() here to declare subsystem dependencies
	Requires(shooterElevator);
}

// Called just before this Command runs the first time
void RaiseAngleSimple::Initialize() {

}

// Called repeatedly when this Command is scheduled to run
void RaiseAngleSimple::Execute() {
	shooterElevator->Raise(0.90);
}

// Make this return true when this Command no longer needs to run execute()
bool RaiseAngleSimple::IsFinished() {
	return false;
}

// Called once after isFinished returns true
void RaiseAngleSimple::End() {
	shooterElevator->elevatorMotor->Set(0);
}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void RaiseAngleSimple::Interrupted() {
	shooterElevator->elevatorMotor->Set(0);
}
